package spring.DI;

/**
 * 
 *
 * @author ME
 * @date   2019/9/26
 */
public class IndexService2 {

    private IndexDao dao;

    public void setDao(IndexDao dao) {
        this.dao = dao;
    }

    public void service() {
        dao.test();
    }
}
